import turtle
lst=['red','orange','yellow','green','cyan','blue','purple']
lst= lst[4:]+lst[:4]
turtle.left(90)
turtle.up()
turtle.goto(160, 0)
turtle.down()
turtle.pensize(21)
dis = 160
for i in range(len(lst)):
    turtle.pencolor(lst[i])
    turtle.circle(dis, 180)
    turtle.up()
    turtle.left(90)
    turtle.forward(dis*2-20)
    turtle.down()
    turtle.left(90)
    dis -= 20
turtle.done()


# lst = ['a', 'b', 'c']
# for i in range(len(lst)):
#     print(i, lst[i])